package com.hong.qrpc.resolver;

import com.hong.qrpc.header.Header;
import io.netty.buffer.ByteBuf;

/**
 * @Author HQT
 * @Date 2022/8/10 11:10
 */
public interface Resolver {
    byte[] toByteArr(Header header);

    Header readHeader(ByteBuf byteBuf);
}
